package com.huatai.exchange.dal.dao;

import com.huatai.exchange.dal.model.ExcAutoSendCustMailTask;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExcAutoSendCustMailTaskDAO {

    List<ExcAutoSendCustMailTask> queryByModel(ExcAutoSendCustMailTask excAutoSendCustMailTask)throws Exception ;

    ExcAutoSendCustMailTask queryById(String id) throws Exception ;

    Long updateById(ExcAutoSendCustMailTask excAutoSendCustMailTask) throws Exception ;

    Long updateNextDate(@Param("id") String id, @Param("oldNextDate") String oldNextDate
            , @Param("newNextDate") String newNextDate) throws Exception ;

}
